//
//  AppDelegate.m
//  MirrorCharge
//
//  Created by dllo on 16/10/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AppDelegate.h"
#import "MainViewController.h"
#import "MainRootViewController.h"
#import "HLMacro.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    // Override point for customization after application launch.∫
    _window = [[UIWindow alloc]initWithFrame:SCREEN_RECT];
    _window.backgroundColor = [UIColor whiteColor];
    [_window makeKeyAndVisible];
    MainRootViewController *vc = [[MainRootViewController alloc]initWithNibName:@"MainRootViewController" bundle:[NSBundle mainBundle]];
    MainViewController *root = [[MainViewController alloc]initWithRootViewController:vc];
    _window.rootViewController = root;
    return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application {
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
}


- (void)applicationWillTerminate:(UIApplication *)application {
}

@end
